#include "Window.h"
using namespace std;
ExMessage Window::m_msg;
Window::Window(int w, int h, int flag)
{
    m_handle = initgraph(w, h, flag);
}

void Window::setWinTitle(string title)
{
    SetWindowText(m_handle,title.c_str());
}

int Window::exec()
{
    system("pause");
    return 0;
}
